package com.whacos.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.whacos.common.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/**
 * @author xiongdun
 * @description 通知通告
 * @since 2018/11/17 17:11
 */
@TableName(value = "t_oa_notify")
@Data
@ToString
public class Notify extends BaseEntity {

    private static final long serialVersionUID = -9170228284300931736L;

    //类型
    private String type;
    //标题
    private String title;
    //内容
    private String content;
    //附件
    private String files;
    //状态
    private String status;

    // 用户Id
    @TableField(exist = false)
    private Long[] userIds;
    @TableField(exist = false)
    private Long userId;

}
